﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;
using NHibernate.Criterion;

/// <summary>
/// Summary description for Tour
/// </summary>
namespace LIB
{
    [ActiveRecord("Hotline")]
    public class HotlineEmail_Info:ActiveRecordBase<HotlineEmail_Info>
    {
        private int _id;
        private string _hotName;
        private string _hotYahoo;
        private string _hotSkype;
        [PrimaryKey(PrimaryKeyType.Native)]
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }
        [Property]
        public string hotName
        {
            get { return _hotName; }
            set { _hotName = value; }
        }
        [Property]
        public string hotYahoo
        {
            get { return _hotYahoo; }
            set { _hotYahoo = value; }
        }
        [Property]
        public string hotSkype
        {
            get { return _hotSkype; }
            set { _hotSkype = value; }
        }

    }
}
